using System.Configuration;
using Uber.Core.Service;

namespace Uber.Service
{
    public class SmtpServerConfig : ISmtpServerConfig
    {
        public string GetServerName()
        {
            return ConfigurationManager.AppSettings["smtpServer"];
        }

        public string GetUserName()
        {
            return ConfigurationManager.AppSettings["smtpUserName"];
        }

        public string GetPass()
        {
            return ConfigurationManager.AppSettings["smtpPass"];
        }
    }
}